#include<stdio.h>
#include<malloc.h>
int main(){
int num=20;
int* array;
array=(int *)malloc(sizeof(int)*num);
int a[]={0,1,2,3,4,5,6,7,8};
int i;
for (i=0;i<10;i++){
array[i]=a[i];
}

for(i=0;i<20;i++){
printf("%d,",array[i]);
}


return 0;
}
